home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 13547 / 13547.xpi / chrome / content / overlay.xul < prev   
Extensible Markup Language  |  2009-11-29  |  14KB  |  210 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!DOCTYPE overlay [
  4.     <!ENTITY % overlayDTD SYSTEM "chrome://aFewClicksAway/locale/overlay.dtd">
  5.     %overlayDTD;
  6.     <!ENTITY % optionsDTD SYSTEM "chrome://aFewClicksAway/locale/options.dtd">
  7.     %optionsDTD;
  8. ]>
  9.  
  10. <overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  11.  
  12.     <stringbundleset>
  13.         <stringbundle id="aFCA-stringsBundle" src="chrome://aFewClicksAway/locale/aFCA.properties"/>
  14.     </stringbundleset>
  15.  
  16.     <script type="application/x-javascript" src="chrome://aFewClicksAway/content/overlay.js"></script>
  17.     
  18.     <popup id="contentAreaContextMenu">
  19.         
  20.         <menuseparator id="aFCA-sep-newChildTab" insertafter="spell-suggestions-separator"/>
  21.         
  22.         <menuitem id="aFCA-newChildTab"
  23.                   insertafter="spell-suggestions-separator"
  24.                   oncommand="aFCA.openItem('newChildTab');"
  25.                   label="&newChildTab.label;"
  26.                   accesskey="&newChildTab.accesskey;"/>
  27.                   
  28.         <menuseparator id="aFCA-sep-blacklist" insertafter="spell-suggestions-separator"/>
  29.         
  30.         <menuitem id="aFCA-blacklist"
  31.                   insertafter="spell-suggestions-separator"
  32.                   oncommand="aFCA.blacklist();"/>
  33.         
  34.         <menuseparator id="aFCA-sep-translateThisPage" insertafter="spell-suggestions-separator"/>
  35.         
  36.         <menuitem id="aFCA-translateThisPage"
  37.                   insertafter="spell-suggestions-separator"
  38.                   oncommand="aFCA.translateThisPage();"
  39.                   label="&translateThisPage.label;"
  40.                   accesskey="&translateThisPage.accesskey;"/>
  41.         
  42.         <menuseparator id="aFCA-sep-closeThisChildTab" insertafter="spell-suggestions-separator"/>
  43.         
  44.         <menuitem id="aFCA-closeThisChildTab"
  45.                   insertafter="spell-suggestions-separator"
  46.                   oncommand="aFCA.closeAndGo();"
  47.                   label="&closeThisChildTab.label;"
  48.                   accesskey="&closeThisChildTab.accesskey;"/>
  49.         
  50.         <menuseparator id="aFCA-sep-restoreChildTab" insertafter="spell-suggestions-separator"/>
  51.         
  52.         <menuitem id="aFCA-restoreChildTab"
  53.                   insertafter="spell-suggestions-separator"
  54.                   oncommand="aFCA.restoreChildTab();"
  55.                   label="&restoreChildTab.label;"
  56.                   accesskey="&restoreChildTab.accesskey;"/>
  57.         
  58.         <menuseparator id="aFCA-sep-searchItems" insertafter="spell-suggestions-separator"/>
  59.         
  60.         <menuitem id="aFCA-customItem3"
  61.                   insertafter="spell-suggestions-separator"
  62.                   oncommand="aFCA.openItem('customItem3');"/>
  63.         
  64.         <menuitem id="aFCA-customItem2"
  65.                   insertafter="spell-suggestions-separator"
  66.                   oncommand="aFCA.openItem('customItem2');"/>
  67.         
  68.         <menuitem id="aFCA-customItem1"
  69.                   insertafter="spell-suggestions-separator"
  70.                   oncommand="aFCA.openItem('customItem1');"/>
  71.         
  72.         <menuitem id="aFCA-googleDictionary"
  73.                   insertafter="spell-suggestions-separator"
  74.                   oncommand="aFCA.openItem('googleDictionary');"/>
  75.  
  76.         <menuseparator id="aFCA-sep-quick" insertafter="spell-suggestions-separator"/>
  77.         
  78.         <menuitem id="aFCA-item1-quick"
  79.                   insertafter="spell-suggestions-separator"
  80.                   oncommand="aFCA.openItem('googleTranslate');"/>
  81.         
  82.         <menu id="aFCA-menu-quick" insertafter="spell-suggestions-separator">
  83.             <menupopup onpopupshowing="aFCA.translateText(aFCA.lastSelection, aFCA.p.quickW.srcLang, aFCA.p.quickW.destLang, aFCA.updateItem2);">
  84.                 <menuitem id="aFCA-item2-quick"
  85.                           oncommand="aFCA.openItem('googleTranslate', 'input');"/>
  86.                 <menuseparator/>
  87.                 <menuitem id="aFCA-replaceSelection"
  88.                           label="&replaceSelection.label;"
  89.                           accesskey="&replaceSelection.accesskey;"
  90.                           oncommand="aFCA.replaceSelection();"/>
  91.                 <menuseparator/>
  92.                 <menu id="aFCA-translateFrom">
  93.                     <menupopup>
  94.                         <menuitem label="&lang.auto;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "auto");'/>
  95.                         <menuseparator/>
  96.                         <menuitem label="&lang.af;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "af");'/>
  97.                         <menuitem label="&lang.sq;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "sq");'/>
  98.                         <menuitem label="&lang.ar;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "ar");'/>
  99.                         <menuitem label="&lang.be;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "be");'/>
  100.                         <menuitem label="&lang.bg;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "bg");'/>
  101.                         <menuitem label="&lang.ca;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "ca");'/>
  102.                         <menuitem label="&lang.zh;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "zh");'/>
  103.                         <menuitem label="&lang.hr;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "hr");'/>
  104.                         <menuitem label="&lang.cs;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "cs");'/>
  105.                         <menuitem label="&lang.da;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "da");'/>
  106.                         <menuitem label="&lang.nl;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "nl");'/>
  107.                         <menuitem label="&lang.en;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "en");'/>
  108.                         <menuitem label="&lang.et;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "et");'/>
  109.                         <menuitem label="&lang.tl;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "tl");'/>
  110.                         <menuitem label="&lang.fi;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "fi");'/>
  111.                         <menuitem label="&lang.fr;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "fr");'/>
  112.                         <menuitem label="&lang.gl;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "gl");'/>
  113.                         <menuitem label="&lang.de;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "de");'/>
  114.                         <menuitem label="&lang.el;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "el");'/>
  115.                         <menuitem label="&lang.iw;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "iw");'/>
  116.                         <menuitem label="&lang.hi;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "hi");'/>
  117.                         <menuitem label="&lang.hu;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "hu");'/>
  118.                         <menuitem label="&lang.is;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "is");'/>
  119.                         <menuitem label="&lang.id;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "id");'/>
  120.                         <menuitem label="&lang.ga;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "ga");'/>
  121.                         <menuitem label="&lang.it;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "it");'/>
  122.                         <menuitem label="&lang.ja;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "ja");'/>
  123.                         <menuitem label="&lang.ko;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "ko");'/>
  124.                         <menuitem label="&lang.lv;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "lv");'/>
  125.                         <menuitem label="&lang.lt;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "lt");'/>
  126.                         <menuitem label="&lang.mk;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "mk");'/>
  127.                         <menuitem label="&lang.ms;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "ms");'/>
  128.                         <menuitem label="&lang.mt;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "mt");'/>
  129.                         <menuitem label="&lang.no;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "no");'/>
  130.                         <menuitem label="&lang.fa;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "fa");'/>
  131.                         <menuitem label="&lang.pl;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "pl");'/>
  132.                         <menuitem label="&lang.pt;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "pt");'/>
  133.                         <menuitem label="&lang.ro;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "ro");'/>
  134.                         <menuitem label="&lang.ru;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "ru");'/>
  135.                         <menuitem label="&lang.sr;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "sr");'/>
  136.                         <menuitem label="&lang.sk;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "sk");'/>
  137.                         <menuitem label="&lang.sl;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "sl");'/>
  138.                         <menuitem label="&lang.es;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "es");'/>
  139.                         <menuitem label="&lang.sw;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "sw");'/>
  140.                         <menuitem label="&lang.sv;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "sv");'/>
  141.                         <menuitem label="&lang.th;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "th");'/>
  142.                         <menuitem label="&lang.tr;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "tr");'/>
  143.                         <menuitem label="&lang.uk;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "uk");'/>
  144.                         <menuitem label="&lang.vi;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "vi");'/>
  145.                         <menuitem label="&lang.cy;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "cy");'/>
  146.                         <menuitem label="&lang.yi;" oncommand='aFCA.prefsAfca.setCharPref("quickW.srcLang", "yi");'/>
  147.                     </menupopup>
  148.                 </menu>
  149.                 <menu id="aFCA-translateTo">
  150.                     <menupopup>
  151.                         <menuitem label="&lang.af;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "af");'/>
  152.                         <menuitem label="&lang.sq;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "sq");'/>
  153.                         <menuitem label="&lang.ar;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "ar");'/>
  154.                         <menuitem label="&lang.be;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "be");'/>
  155.                         <menuitem label="&lang.bg;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "bg");'/>
  156.                         <menuitem label="&lang.ca;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "ca");'/>
  157.                         <menuitem label="&lang.zh.CN;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "zh-CN");'/>
  158.                         <menuitem label="&lang.zh.TW;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "zh-TW");'/>
  159.                         <menuitem label="&lang.hr;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "hr");'/>
  160.                         <menuitem label="&lang.cs;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "cs");'/>
  161.                         <menuitem label="&lang.da;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "da");'/>
  162.                         <menuitem label="&lang.nl;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "nl");'/>
  163.                         <menuitem label="&lang.en;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "en");'/>
  164.                         <menuitem label="&lang.et;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "et");'/>
  165.                         <menuitem label="&lang.tl;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "tl");'/>
  166.                         <menuitem label="&lang.fi;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "fi");'/>
  167.                         <menuitem label="&lang.fr;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "fr");'/>
  168.                         <menuitem label="&lang.gl;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "gl");'/>
  169.                         <menuitem label="&lang.de;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "de");'/>
  170.                         <menuitem label="&lang.el;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "el");'/>
  171.                         <menuitem label="&lang.iw;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "iw");'/>
  172.                         <menuitem label="&lang.hi;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "hi");'/>
  173.                         <menuitem label="&lang.hu;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "hu");'/>
  174.                         <menuitem label="&lang.is;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "is");'/>
  175.                         <menuitem label="&lang.id;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "id");'/>
  176.                         <menuitem label="&lang.ga;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "ga");'/>
  177.                         <menuitem label="&lang.it;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "it");'/>
  178.                         <menuitem label="&lang.ja;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "ja");'/>
  179.                         <menuitem label="&lang.ko;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "ko");'/>
  180.                         <menuitem label="&lang.lv;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "lv");'/>
  181.                         <menuitem label="&lang.lt;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "lt");'/>
  182.                         <menuitem label="&lang.mk;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "mk");'/>
  183.                         <menuitem label="&lang.ms;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "ms");'/>
  184.                         <menuitem label="&lang.mt;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "mt");'/>
  185.                         <menuitem label="&lang.no;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "no");'/>
  186.                         <menuitem label="&lang.fa;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "fa");'/>
  187.                         <menuitem label="&lang.pl;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "pl");'/>
  188.                         <menuitem label="&lang.pt;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "pt");'/>
  189.                         <menuitem label="&lang.ro;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "ro");'/>
  190.                         <menuitem label="&lang.ru;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "ru");'/>
  191.                         <menuitem label="&lang.sr;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "sr");'/>
  192.                         <menuitem label="&lang.sk;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "sk");'/>
  193.                         <menuitem label="&lang.sl;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "sl");'/>
  194.                         <menuitem label="&lang.es;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "es");'/>
  195.                         <menuitem label="&lang.sw;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "sw");'/>
  196.                         <menuitem label="&lang.sv;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "sv");'/>
  197.                         <menuitem label="&lang.th;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "th");'/>
  198.                         <menuitem label="&lang.tr;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "tr");'/>
  199.                         <menuitem label="&lang.uk;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "uk");'/>
  200.                         <menuitem label="&lang.vi;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "vi");'/>
  201.                         <menuitem label="&lang.cy;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "cy");'/>
  202.                         <menuitem label="&lang.yi;" oncommand='aFCA.prefsAfca.setCharPref("quickW.destLang", "yi");'/>
  203.                     </menupopup>
  204.                 </menu>
  205.             </menupopup>
  206.         </menu>
  207.         
  208.     </popup>
  209.  
  210. </overlay>